package com.estate.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estate.bean.Letter;
import com.estate.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface LetterService extends IService<Letter> {

    JsonResult listByPage(int page, int size);

    JsonResult saveLetter(Letter letter);

    JsonResult deleteLetter(String letterId);

    JsonResult updateLetter(Letter letter);
}
